package com.xiaoxx;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * HX 7.19
 */
@SpringBootApplication
@ComponentScan({"com"})
@EnableScheduling
@MapperScans({@MapperScan("com.xiaoxx.mapper"), @MapperScan("com.xiaoxx.rabbitmq.db.mapper")})
public class ServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceApplication.class, args);
    }


}
